package com.zgm.ch05.aop.pointcutAdvisor._4_1_3;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class SimpleAdvice implements MethodInterceptor {

	public Object invoke(MethodInvocation invocation) throws Throwable{
		System.out.println(">> 调用 " + invocation.getMethod().getName());
		Object retVal = invocation.proceed();
		System.out.println(">> 结束");
		
		return retVal;
	}
}
